From b990f3a0d0c2a1ff04ca0eab8098c401a42f5938 Mon Sep 17 00:00:00 2001 From: =?utf8?q?IOhannes=20m=20zm=C3=B6lnig?= Date: Sat, 30 Jan 2016 15:53:10 +0100 Subject: [PATCH] use DEMO_PATH var for path to the demo --- debian/libbuilder/Makefile | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/debian/libbuilder/Makefile b/debian/libbuilder/Makefile index 2711c90c..1bfce9ec 100644 --- a/debian/libbuilder/Makefile +++ b/debian/libbuilder/Makefile @@ -14,6 +14,7 @@ empty= JUCE_PATH=../.. MODULES_PATH=$(JUCE_PATH)/modules +DEMO_PATH = $(JUCE_PATH)/examples/Demo/Builds/Linux/ SOURCES=juce_audio_basics.cpp \ juce_audio_devices.cpp \ @@ -117,7 +118,7 @@ clean: @echo Cleaning juce_dll rm -rf build rm -rf juce.pc - make -C ../../examples/Demo/Builds/Linux/ clean + make -C $(DEMO_PATH) clean install-lib: $(OUTDIR)/$(TARGET) @echo Installing juce_dll @@ -140,7 +141,7 @@ install: install-headers install-lib install-pkgconfig -include $(OBJECTS:%.o=%.d) test: - make -C ../../examples/Demo/Builds/Linux/ + make -C $(DEMO_PATH) juce.pc: juce.pc.in sed \ -- 2.30.2